package com.leyou.seckill.service;

import com.leyou.seckill.mapper.SeckillMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.data.redis.core.StringRedisTemplate;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

/**
 * @author Administrator
 */
@Service
@Transactional(rollbackFor = Exception.class)
public class SeckillService {
    @Autowired
    private SeckillMapper seckillMapper;

    @Autowired
    private StringRedisTemplate redisTemplate;
}
